package com.guess.lolguessing.service;

import com.guess.lolguessing.domain.po.Guessing;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guess.lolguessing.domain.po.Matches;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-10-24
 */
public interface IGuessingService extends IService<Guessing> {

    Guessing getByMatchId(Integer matchId);

    void updateA(Integer matchId, int amount);

    void updateB(Integer matchId, int amount);

    int getAmountTotalA(Long matchId, Integer teamId);

    int getAmountTotalB(Long matchId, Integer teamId);
}
